// pages/life/my.js
Page({
    onLoad(options){
        wx.request({
          url: 'https://devapi.qweather.com/v7/indices/1d?location=113.68,34.80&key=4c64b397a43d4bbfbc23567a0b9f0a30&type=0',
          success: r=>{
              console.log(r.data.daily)
              this.setData({
                  daily: r.data.daily,
              })
          },
          fail: e=>{
              
          }
        })
    }
})